NXP Semiconductors /LPC11Exx /USART /RS485CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as RS485CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (RS_485_EIA_485_NORMA)NMMEN 0 (THE_RECEIVER_IS_ENAB)RXDIS 0 (AUTO_ADDRESS_DETECT_)AADEN 0 (RTS)SEL 0 (DISABLE_AUTO_DIRECTI)DCTRL 0 (LOW)OINV 0RESERVED

NMMEN=RS_485_EIA_485_NORMA, OINV=LOW, RXDIS=THE_RECEIVER_IS_ENAB, DCTRL=DISABLE_AUTO_DIRECTI, SEL=RTS, AADEN=AUTO_ADDRESS_DETECT_

Description

RS-485/EIA-485 Control. Contains controls to configure various aspects of RS-485/EIA-485 modes.

Fields

NMMEN

NMM enable.

0 (RS_485_EIA_485_NORMA): RS-485/EIA-485 Normal Multidrop Mode (NMM) is disabled.

1 (RS_485_EIA_485_NORMA): RS-485/EIA-485 Normal Multidrop Mode (NMM) is enabled. In this mode, an address is detected when a received byte causes the USART to set the parity error and generate an interrupt.

RXDIS

Receiver enable.

0 (THE_RECEIVER_IS_ENAB): The receiver is enabled.

1 (THE_RECEIVER_IS_DISA): The receiver is disabled.

AADEN

AAD enable.

0 (AUTO_ADDRESS_DETECT_): Auto Address Detect (AAD) is disabled.

1 (AUTO_ADDRESS_DETECT_): Auto Address Detect (AAD) is enabled.

SEL

Select direction control pin

0 (RTS): If direction control is enabled (bit DCTRL = 1), pin RTS is used for direction control.

1 (DTR): If direction control is enabled (bit DCTRL = 1), pin DTR is used for direction control.

DCTRL

Auto direction control enable.

0 (DISABLE_AUTO_DIRECTI): Disable Auto Direction Control.

1 (ENABLE_AUTO_DIRECTIO): Enable Auto Direction Control.

OINV

Polarity control. This bit reverses the polarity of the direction control signal on the RTS (or DTR) pin.

0 (LOW): The direction control pin will be driven to logic 0 when the transmitter has data to be sent. It will be driven to logic 1 after the last bit of data has been transmitted.

1 (HIGH): The direction control pin will be driven to logic 1 when the transmitter has data to be sent. It will be driven to logic 0 after the last bit of data has been transmitted.

RESERVED

Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.

Links

()